package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

/**
 * @author DL5O
 * @version 1.0
 */
public interface SetMealService extends IService<Setmeal> {

    public void saveWithDish(SetmealDto setmealDto);

    public Page<SetmealDto> getPage(Integer page,Integer pageSize,String name);

    public void removeWithDish(List<Long> ids);

    public SetmealDto getWithDish(Long id);

    public void updateWithDish(SetmealDto setmealDto);

    public void updateStatus(Integer status, List<Long> ids);
}
